home *** CD-ROM | disk | FTP | other *** search
- package com.ibm.xml.dom;
-
- import org.w3c.dom.DOMException;
- import org.w3c.dom.Notation;
-
- public class NotationImpl extends NodeImpl implements Notation {
- static final long serialVersionUID = -764632195890658402L;
- protected String publicId;
- protected String systemId;
-
- public NotationImpl(DocumentImpl var1, String var2) {
- super(var1, var2, (String)null);
- }
-
- public short getNodeType() {
- return 12;
- }
-
- public void setNodeValue(String var1) throws DOMException {
- throw new DOMExceptionImpl((short)7, (String)null);
- }
-
- public String getPublicId() {
- if (super.syncData) {
- ((NodeImpl)this).synchronizeData();
- }
-
- return this.publicId;
- }
-
- public String getSystemId() {
- if (super.syncData) {
- ((NodeImpl)this).synchronizeData();
- }
-
- return this.systemId;
- }
-
- public void setPublicId(String var1) {
- if (super.readOnly) {
- throw new DOMExceptionImpl((short)7, (String)null);
- } else {
- if (super.syncData) {
- ((NodeImpl)this).synchronizeData();
- }
-
- this.publicId = var1;
- }
- }
-
- public void setSystemId(String var1) {
- if (super.readOnly) {
- throw new DOMExceptionImpl((short)7, (String)null);
- } else {
- if (super.syncData) {
- ((NodeImpl)this).synchronizeData();
- }
-
- this.systemId = var1;
- }
- }
- }
-